package com.plm.mqshequ.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author Limi
 * @create 2019-01-20 13:14
 */
@Data
public class PageModel implements Serializable {
    private int curr;//当前页
    private int limit;//每页显示的数据
    private int total;//数据总量
    private int pages;//总共又多少页数据
    private List<?> list;//返回的数据

    public PageModel(){}

    public PageModel(int curr, int limit){
        this.curr = curr;
        this.limit = limit;
    }
}
